<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*CSS代码注释*/
    </style>
</head>
<body>

<!--html代码注释-->
<script>
    //1
    function f1(){
        console.log("f1");
    }
    f1();

    //2
    function f2(name,age){
        console.log(name+":"+age);
    }
    f2("田龙",17);

    //3
    function f3(){
        return "哈哈哈";
    }
    let info=f3();
    console.log(info);

    //4.
    function f4(name,age){
        return name+":"+age
    }
    let result=f4("田龙",21);
    console.log(result);

    //5
    let f5=function (name,age){
        console.log(name+":"+age);
    }
    f5("田龙",18);

    let f6=new Function("name","age","console.log(name+':'+age)");
    f6("张飞",545)
</script>
</body>
</html>